package com.aspose.cells;

class zmr extends zbz {
   private static final com.aspose.cells.b.c.a.za a = new com.aspose.cells.b.c.a.za(new String[]{"BEL", "spa", "deu", "fra", "fre", "frm", "fro"});

   public zmr(int var1, int var2) {
      this.c(140);
      this.b(4);
      this.c = new byte[4];
      com.aspose.cells.b.a.c.za var4 = null;
      int var3;
      if (var1 == 0) {
         var4 = com.aspose.cells.b.a.c.za.a();
         var3 = this.a(var4);
      } else {
         var3 = var1;
      }

      System.arraycopy(com.aspose.cells.b.a.zc.a(var3), 0, this.c, 0, 2);
      if (var2 == 0) {
         if (var4 == null) {
            var4 = com.aspose.cells.b.a.c.za.a();
         }

         var3 = this.a(com.aspose.cells.b.a.c.zd.a(), var4);
      } else {
         var3 = var2;
      }

      System.arraycopy(com.aspose.cells.b.a.zc.a(var3), 0, this.c, 2, 2);
   }

   private int a(com.aspose.cells.b.a.c.zd var1, com.aspose.cells.b.a.c.za var2) {
      try {
         switch(a.a(var1.b())) {
         case 0:
            return 32;
         default:
            return this.a(var2);
         }
      } catch (Exception var4) {
         return this.a(var2);
      }
   }

   private int a(com.aspose.cells.b.a.c.za var1) {
      switch(a.a(var1.f())) {
      case 1:
         return 34;
      case 2:
         return 49;
      case 3:
      case 4:
      case 5:
      case 6:
         return 33;
      default:
         return 1;
      }
   }
}
